<!-- 导航 -->
<nav class="navbar navbar-expand-md bg-dark navbar-dark fixed-top">
<div class="container">
  <a class="navbar-brand mr-4" href="{$host}"><img src="{$host}zb_users/theme/{$theme}/img/favicon.ico" alt="Logo" class="rounded mr-2 mb-1" id="logo">{$name}</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse justify-content-end" id="collapsibleNavbar">
    <ul class="navbar-nav">
    	{module:navbar}
      <li class="nav-item">
      	{if $user.ID>0}
      	<a class="nav-link" href="{$host}zb_system/login.php"><small><span class="oi oi-cog"></span></small> 网站后台</a>
        {else}
        <a class="nav-link" href="{$host}zb_system/login.php"><small><span class="oi oi-cog"></span></small> 登录</a>
        {/if}
      </li> 
    </ul>
  </div>
</div>
</nav>
